<%@page import="com.hrms.core.Constants"%>
<%
final String action = (request.getParameter(Constants.SELECTED_EMPLOYEE) != null) ? Constants.Action.EDIT.toString() : Constants.Action.NEW.toString();
%>
<input type="hidden" name="<%= Constants.ACTION %>" id="<%= Constants.ACTION %>"  value="<%= action %>"/>